import request from '../../utils/request'

//陪护师头像列表
export const getImg= ()=>{
    return request.get('/photo/list')
}

//陪护师创建
export const companion = (data)=>{
    return request.post('/companion',data)
}

//陪护列表
export const getCompanionList = (params)=>{
    return request.get('/companion/list',{params})
}

//陪护师删除
export const deletecompanion = (data)=>{
    return request.post('/delete/companion',data)
}